package siac.com.configuracao;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class ConexaoEclipselink {
	public static final String PERSISTENCE_UNIT_NAME = "siac-hospitalar";

	public static EntityManagerFactory getEntityManagerFactory() {
		return Persistence.createEntityManagerFactory(PERSISTENCE_UNIT_NAME);
	}

}
